// **********************************************************************
//
// Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

// Ice version 3.3.0

package CustomerRelationsManagement;

/**
 *
 * @author Administrator
 */
public interface customerPrx extends Ice.ObjectPrx
{
    /**
     *
     * @return
     * @throws CustomerRelationsManagement.RecordNotCommitted
     */
    public int getId()
        throws RecordNotCommitted;
    /**
     *
     * @param __ctx
     * @return
     * @throws CustomerRelationsManagement.RecordNotCommitted
     */
    public int getId(java.util.Map<String, String> __ctx)
        throws RecordNotCommitted;

    /**
     *
     * @throws CustomerRelationsManagement.DBError
     */
    public void save()
        throws DBError;
    /**
     *
     * @param __ctx
     * @throws CustomerRelationsManagement.DBError
     */
    public void save(java.util.Map<String, String> __ctx)
        throws DBError;

    /**
     *
     * @throws CustomerRelationsManagement.DBError
     * @throws CustomerRelationsManagement.RecordNotCommitted
     */
    public void delete()
        throws DBError,
               RecordNotCommitted;
    /**
     *
     * @param __ctx
     * @throws CustomerRelationsManagement.DBError
     * @throws CustomerRelationsManagement.RecordNotCommitted
     */
    public void delete(java.util.Map<String, String> __ctx)
        throws DBError,
               RecordNotCommitted;

    /**
     *
     * @return
     */
    public String getName();
    /**
     *
     * @param __ctx
     * @return
     */
    public String getName(java.util.Map<String, String> __ctx);

    /**
     *
     * @param name
     */
    public void setName(String name);
    /**
     *
     * @param name
     * @param __ctx
     */
    public void setName(String name, java.util.Map<String, String> __ctx);
}
